package com.erp.erp_ui.warehouse.vo;

import java.io.Serializable;
import java.util.List;

/**
 * @ClassName : TransferDetailVo
 * @Description : 调拨明细回参实体
 * @Author : lst
 * @Date: 2020-10-30 16:07
 */
public class TransferDetailVo implements Serializable {
    /**
     * 序列码
     */
    private static final long serialVersionUID = -5975692520621853503L;

    /**
     * 主键
     */
    private Integer id;

    /**
     * 调拨单号
     */
    private String billNo;

    /**
     * 调拨时间
     */
    private String time;

    /**
     * 调拨类型(1:合同调拨 2:合同置空)
     */
    private String typeStr;

    /**
     * 仓库名称
     */
    private String warehouseName;
    /**
     * 仓库编码
     */
    private String warehouseCode;

    /**
     * 创建人
     */
    private String creator;

    /**
     * 创建时间
     */
    private String createDate;

    /**
     * 备注
     */
    private String memo;

    /**
     * 状态(1.草稿箱 2.待批箱 3.已批箱 4.完成箱 5.垃圾箱)
     */
    private Integer status;

    /**
     * 产品集合
     */
    private List<TransferProductVo> productVos;

    /**
     * 附件集合
     */
    private List<AnnexVo> annexVos;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getBillNo() {
        return billNo;
    }

    public void setBillNo(String billNo) {
        this.billNo = billNo;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getTypeStr() {
        return typeStr;
    }

    public void setTypeStr(String typeStr) {
        this.typeStr = typeStr;
    }

    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
    }

    public String getWarehouseCode() {
        return warehouseCode;
    }

    public void setWarehouseCode(String warehouseCode) {
        this.warehouseCode = warehouseCode;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public List<TransferProductVo> getProductVos() {
        return productVos;
    }

    public void setProductVos(List<TransferProductVo> productVos) {
        this.productVos = productVos;
    }

    public List<AnnexVo> getAnnexVos() {
        return annexVos;
    }

    public void setAnnexVos(List<AnnexVo> annexVos) {
        this.annexVos = annexVos;
    }

    /**
     * 重写toString
     */
    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("TransferDetailVo").append('[')
                .append("id=")
                .append(id)
                .append(",billNo=")
                .append(billNo)
                .append(",time=")
                .append(time)
                .append(",typeStr=")
                .append(typeStr)
                .append(",warehouseName=")
                .append(warehouseName)
                .append(",warehouseCode=")
                .append(warehouseCode)
                .append(",creator=")
                .append(creator)
                .append(",createDate=")
                .append(createDate)
                .append(",memo=")
                .append(memo)
                .append(",status=")
                .append(status)
                .append(",productVos=")
                .append(productVos)
                .append(",annexVos=")
                .append(annexVos)
                .append(']');
        return sb.toString();
    }
}
